package com.bolingcavalry.crm.customer.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.base.ResponseResult;
import com.dto.CustomerCompaniesDTO;
import com.vo.CustomerCompaniesVO;

import java.util.List;

public interface CustomerCompaniesService {
    ResponseResult add(CustomerCompaniesDTO customerCompaniesDTO);

    CustomerCompaniesVO get(Long id);

    ResponseResult batchDelete(List<Long> ids);

    boolean update(CustomerCompaniesDTO customerCompaniesDTO);

    Page<CustomerCompaniesVO> getByConditions(String keyword,String companyName, String address, Integer pageNum, Integer pageSize);
}
